using System;
using LightWeightORM.ORM.MappingAttribute;


namespace SmartWarehouse
{
    namespace ORM
    {
        namespace Entity
        {
            [TableMapping("Sw_Transaction", "id")]
            public class SwTransaction
            {
                public SwTransaction()
                {
                }


                public const string _Id = "id";
                private string m_id;
                [DataField("id", "nvarchar")]
                public string Id
                {
                    get { return m_id; }
                    set { m_id = value; }
                }


                public const string _Product_name = "product_name";
                private string m_product_name;
                [DataField("product_name", "nvarchar")]
                public string Product_name
                {
                    get { return m_product_name; }
                    set { m_product_name = value; }
                }


                public const string _Cur_warehouse = "cur_warehouse";
                private string m_cur_warehouse;
                [DataField("cur_warehouse", "nvarchar")]
                public string Cur_warehouse
                {
                    get { return m_cur_warehouse; }
                    set { m_cur_warehouse = value; }
                }


                public const string _Cur_location = "cur_location";
                private string m_cur_location;
                [DataField("cur_location", "nvarchar")]
                public string Cur_location
                {
                    get { return m_cur_location; }
                    set { m_cur_location = value; }
                }


                public const string _Cur_bin = "cur_bin";
                private string m_cur_bin;
                [DataField("cur_bin", "nvarchar")]
                public string Cur_bin
                {
                    get { return m_cur_bin; }
                    set { m_cur_bin = value; }
                }


                public const string _Qty = "qty";
                private decimal m_qty;
                [DataField("qty", "int")]
                public decimal Qty
                {
                    get { return m_qty; }
                    set { m_qty = value; }
                }


                public const string _Datetime = "datetime";
                private DateTime m_datetime;
                [DataField("datetime", "datatime")]
                public DateTime Datetime
                {
                    get { return m_datetime; }
                    set { m_datetime = value; }
                }


                public const string _User = "user";
                private string m_user;
                [DataField("user", "nvarchar")]
                public string User
                {
                    get { return m_user; }
                    set { m_user = value; }
                }


                public const string _Movement_type = "movement_type";
                private string m_movement_type;
                [DataField("movement_type", "nvarchar")]
                public string Movement_type
                {
                    get { return m_movement_type; }
                    set { m_movement_type = value; }
                }


            }
        }
    }
}

